package cn.xudy.group.Service.Impl;

import cn.xudy.group.Service.SingletonService;
import cn.xudy.group.Singleton.LazySingleton;
import cn.xudy.group.Singleton.Singleton;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by Ulegal on 2017/11/29.
 */

@Service
public class SingletonServiceImpl  implements SingletonService{


    @Override
    public String SingletonAction() {

//         Singleton singleton = Singleton.getInstance();

              LazySingleton lazySingleton = LazySingleton.getInstance();


        System.out.println("----------------------");

        return null;
    }
}












